﻿namespace CSharpPro._0918;

public class Phone
{

    public PhoneBrand brand { get; set; }
    public int weight { get; set; }
    public long camera { get; set; }
    public int price { get; set; }

    public void PrintPhoneInfo()
    {
        Console.WriteLine(string.Format("品牌：{0}",  brand));
        Console.WriteLine(string.Format("重量：{0}g", weight));
        Console.WriteLine(string.Format("后置摄像头像素：{0}", camera));
        Console.WriteLine(string.Format("价格：{0}元", price));
    }
}
public enum PhoneBrand
{
    苹果6SPlus
}